﻿@using MVCSampleApp.Models
@model IEnumerable<Event>
<h2>@ViewBag.EventsTitle</h2>
<table>
  @foreach (var item in Model)
  {
    <tr>
      <td>@item.Day.ToShortDateString()</td>
      <td>@item.Text</td>
    </tr>
  }
</table>
